package com.ywjt.platformbusiness.order.model;

import java.math.BigDecimal;
import java.util.List;

public class OrderListModel {


    /**
     * code : 200
     * message : 成功
     * data : [{"id":136,"orderNum":"YM202101042000007","expressNum":"","expressCode":"","userId":2528,"status":1,"goodsType":1,"userAddressId":144,"price":0.01,"freight":0,"realPrice":0.01,"payType":2,"remark":"","createTime":"2021-01-04 16:14:34","payTime":"2021-01-04 16:14:43","mobile":"15839433596","name":"花花","address":"河南省郑州市管城回族区二里岗街21号院","sendTime":null,"couponsId":0,"couponsPrice":0,"currentExpressStatus":"","isDelete":1,"currentExpressTime":null,"orderDetailList":[{"id":148,"userId":2528,"orderNum":"YM202101042000007","goodsId":12,"goodsSkuId":147,"spData":"[{\"key\":\"颜色\",\"value\":\"黄\"},{\"key\":\"大小\",\"value\":\"小\"}]","goodsName":"牛花花","number":1,"goodsCode":"1111102","goodsSummary":"苹果积分商品","goodsDetail":"<p>详情<img src=\"http://t-xym-common.oss-cn-hangzhou.aliyuncs.com/ym1608603636159peppa.jpeg\"><\/p>","goodsCover":"https://t-xym-common.oss-cn-hangzhou.aliyuncs.com/%E4%BC%9A%E5%91%98%E5%8D%A1.png","goodsPrice":0.01,"goodsMarketPrice":111,"goodsType":1,"goodsTerm":0,"createTime":"2021-01-04 16:14:34","goodsSkuVOList":[{"key":"颜色","value":"黄"},{"key":"大小","value":"小"}]}],"refundStatus":6,"goodsRefund":{"id":13,"userId":2528,"orderNum":"YM202101042000007","type":1,"goodsStatus":0,"reason":"质量问题","money":0.01,"remark":"uuuuuuuuu","logisticsNum":"","logisticsCode":"","logisticsName":"","contact":"","createTime":"2021-01-05 09:50:25","goodsRefundStatusLog":{"id":63,"goodsRefundId":13,"status":6,"isFinish":1,"createTime":"2021-01-05 10:56:51","statusName":""}}}]
     * count : 0
     */

    private Integer code;
    private String message;
    private Integer count;
    private List<DataDTO> data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * id : 136
         * orderNum : YM202101042000007
         * expressNum :
         * expressCode :
         * userId : 2528
         * status : 1
         * goodsType : 1
         * userAddressId : 144
         * price : 0.01
         * freight : 0
         * realPrice : 0.01
         * payType : 2
         * remark :
         * createTime : 2021-01-04 16:14:34
         * payTime : 2021-01-04 16:14:43
         * mobile : 15839433596
         * name : 花花
         * address : 河南省郑州市管城回族区二里岗街21号院
         * sendTime : null
         * couponsId : 0
         * couponsPrice : 0
         * currentExpressStatus :
         * isDelete : 1
         * currentExpressTime : null
         * orderDetailList : [{"id":148,"userId":2528,"orderNum":"YM202101042000007","goodsId":12,"goodsSkuId":147,"spData":"[{\"key\":\"颜色\",\"value\":\"黄\"},{\"key\":\"大小\",\"value\":\"小\"}]","goodsName":"牛花花","number":1,"goodsCode":"1111102","goodsSummary":"苹果积分商品","goodsDetail":"<p>详情<img src=\"http://t-xym-common.oss-cn-hangzhou.aliyuncs.com/ym1608603636159peppa.jpeg\"><\/p>","goodsCover":"https://t-xym-common.oss-cn-hangzhou.aliyuncs.com/%E4%BC%9A%E5%91%98%E5%8D%A1.png","goodsPrice":0.01,"goodsMarketPrice":111,"goodsType":1,"goodsTerm":0,"createTime":"2021-01-04 16:14:34","goodsSkuVOList":[{"key":"颜色","value":"黄"},{"key":"大小","value":"小"}]}]
         * refundStatus : 6
         * goodsRefund : {"id":13,"userId":2528,"orderNum":"YM202101042000007","type":1,"goodsStatus":0,"reason":"质量问题","money":0.01,"remark":"uuuuuuuuu","logisticsNum":"","logisticsCode":"","logisticsName":"","contact":"","createTime":"2021-01-05 09:50:25","goodsRefundStatusLog":{"id":63,"goodsRefundId":13,"status":6,"isFinish":1,"createTime":"2021-01-05 10:56:51","statusName":""}}
         */

        private Integer id;
        private String orderNum;
        private String expressNum;
        private String expressCode;
        private Integer userId;
        private Integer status;
        private Integer goodsType;
        private Integer userAddressId;
        private BigDecimal price;
        private BigDecimal freight;
        private BigDecimal realPrice;
        private Integer payType;
        private String remark;
        private String createTime;
        private String payTime;
        private String mobile;
        private String name;
        private String address;
        private String sendTime;
        private Integer couponsId;
        private Integer couponsPrice;
        private String currentExpressStatus;
        private Integer isDelete;
        private String currentExpressTime;
        private Integer refundStatus;
        private GoodsRefundDTO goodsRefund;
        private List<OrderDetailListDTO> orderDetailList;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public String getExpressNum() {
            return expressNum;
        }

        public void setExpressNum(String expressNum) {
            this.expressNum = expressNum;
        }

        public String getExpressCode() {
            return expressCode;
        }

        public void setExpressCode(String expressCode) {
            this.expressCode = expressCode;
        }

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getGoodsType() {
            return goodsType;
        }

        public void setGoodsType(Integer goodsType) {
            this.goodsType = goodsType;
        }

        public Integer getUserAddressId() {
            return userAddressId;
        }

        public void setUserAddressId(Integer userAddressId) {
            this.userAddressId = userAddressId;
        }

        public BigDecimal getPrice() {
            return price;
        }

        public void setPrice(BigDecimal price) {
            this.price = price;
        }

        public BigDecimal getFreight() {
            return freight;
        }

        public void setFreight(BigDecimal freight) {
            this.freight = freight;
        }

        public BigDecimal getRealPrice() {
            return realPrice;
        }

        public void setRealPrice(BigDecimal realPrice) {
            this.realPrice = realPrice;
        }

        public Integer getPayType() {
            return payType;
        }

        public void setPayType(Integer payType) {
            this.payType = payType;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getPayTime() {
            return payTime;
        }

        public void setPayTime(String payTime) {
            this.payTime = payTime;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public Integer getCouponsId() {
            return couponsId;
        }

        public void setCouponsId(Integer couponsId) {
            this.couponsId = couponsId;
        }

        public Integer getCouponsPrice() {
            return couponsPrice;
        }

        public void setCouponsPrice(Integer couponsPrice) {
            this.couponsPrice = couponsPrice;
        }

        public String getCurrentExpressStatus() {
            return currentExpressStatus;
        }

        public void setCurrentExpressStatus(String currentExpressStatus) {
            this.currentExpressStatus = currentExpressStatus;
        }

        public Integer getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(Integer isDelete) {
            this.isDelete = isDelete;
        }

        public String getCurrentExpressTime() {
            return currentExpressTime;
        }

        public void setCurrentExpressTime(String currentExpressTime) {
            this.currentExpressTime = currentExpressTime;
        }

        public Integer getRefundStatus() {
            return refundStatus;
        }

        public void setRefundStatus(Integer refundStatus) {
            this.refundStatus = refundStatus;
        }

        public GoodsRefundDTO getGoodsRefund() {
            return goodsRefund;
        }

        public void setGoodsRefund(GoodsRefundDTO goodsRefund) {
            this.goodsRefund = goodsRefund;
        }

        public List<OrderDetailListDTO> getOrderDetailList() {
            return orderDetailList;
        }

        public void setOrderDetailList(List<OrderDetailListDTO> orderDetailList) {
            this.orderDetailList = orderDetailList;
        }

        public static class GoodsRefundDTO {
            /**
             * id : 13
             * userId : 2528
             * orderNum : YM202101042000007
             * type : 1
             * goodsStatus : 0
             * reason : 质量问题
             * money : 0.01
             * remark : uuuuuuuuu
             * logisticsNum :
             * logisticsCode :
             * logisticsName :
             * contact :
             * createTime : 2021-01-05 09:50:25
             * goodsRefundStatusLog : {"id":63,"goodsRefundId":13,"status":6,"isFinish":1,"createTime":"2021-01-05 10:56:51","statusName":""}
             */

            private Integer id;
            private Integer userId;
            private String orderNum;
            private Integer type;
            private Integer goodsStatus;
            private String reason;
            private Double money;
            private String remark;
            private String logisticsNum;
            private String logisticsCode;
            private String logisticsName;
            private String contact;
            private String createTime;
            private GoodsRefundStatusLogDTO goodsRefundStatusLog;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getUserId() {
                return userId;
            }

            public void setUserId(Integer userId) {
                this.userId = userId;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public Integer getGoodsStatus() {
                return goodsStatus;
            }

            public void setGoodsStatus(Integer goodsStatus) {
                this.goodsStatus = goodsStatus;
            }

            public String getReason() {
                return reason;
            }

            public void setReason(String reason) {
                this.reason = reason;
            }

            public Double getMoney() {
                return money;
            }

            public void setMoney(Double money) {
                this.money = money;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getLogisticsNum() {
                return logisticsNum;
            }

            public void setLogisticsNum(String logisticsNum) {
                this.logisticsNum = logisticsNum;
            }

            public String getLogisticsCode() {
                return logisticsCode;
            }

            public void setLogisticsCode(String logisticsCode) {
                this.logisticsCode = logisticsCode;
            }

            public String getLogisticsName() {
                return logisticsName;
            }

            public void setLogisticsName(String logisticsName) {
                this.logisticsName = logisticsName;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public GoodsRefundStatusLogDTO getGoodsRefundStatusLog() {
                return goodsRefundStatusLog;
            }

            public void setGoodsRefundStatusLog(GoodsRefundStatusLogDTO goodsRefundStatusLog) {
                this.goodsRefundStatusLog = goodsRefundStatusLog;
            }

            public static class GoodsRefundStatusLogDTO {
                /**
                 * id : 63
                 * goodsRefundId : 13
                 * status : 6
                 * isFinish : 1
                 * createTime : 2021-01-05 10:56:51
                 * statusName :
                 */

                private Integer id;
                private Integer goodsRefundId;
                private Integer status;
                private Integer isFinish;
                private String createTime;
                private String statusName;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public Integer getGoodsRefundId() {
                    return goodsRefundId;
                }

                public void setGoodsRefundId(Integer goodsRefundId) {
                    this.goodsRefundId = goodsRefundId;
                }

                public Integer getStatus() {
                    return status;
                }

                public void setStatus(Integer status) {
                    this.status = status;
                }

                public Integer getIsFinish() {
                    return isFinish;
                }

                public void setIsFinish(Integer isFinish) {
                    this.isFinish = isFinish;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getStatusName() {
                    return statusName;
                }

                public void setStatusName(String statusName) {
                    this.statusName = statusName;
                }
            }
        }

        public static class OrderDetailListDTO {
            /**
             * id : 148
             * userId : 2528
             * orderNum : YM202101042000007
             * goodsId : 12
             * goodsSkuId : 147
             * spData : [{"key":"颜色","value":"黄"},{"key":"大小","value":"小"}]
             * goodsName : 牛花花
             * number : 1
             * goodsCode : 1111102
             * goodsSummary : 苹果积分商品
             * goodsDetail : <p>详情<img src="http://t-xym-common.oss-cn-hangzhou.aliyuncs.com/ym1608603636159peppa.jpeg"></p>
             * goodsCover : https://t-xym-common.oss-cn-hangzhou.aliyuncs.com/%E4%BC%9A%E5%91%98%E5%8D%A1.png
             * goodsPrice : 0.01
             * goodsMarketPrice : 111
             * goodsType : 1
             * goodsTerm : 0
             * createTime : 2021-01-04 16:14:34
             * goodsSkuVOList : [{"key":"颜色","value":"黄"},{"key":"大小","value":"小"}]
             */

            private Integer id;
            private Integer userId;
            private String orderNum;
            private Integer goodsId;
            private Integer goodsSkuId;
            private String spData;
            private String goodsName;
            private Integer number;
            private String goodsCode;
            private String goodsSummary;
            private String goodsDetail;
            private String goodsCover;
            private BigDecimal goodsPrice;
            private BigDecimal goodsMarketPrice;
            private Integer goodsType;
            private Integer goodsTerm;
            private String createTime;
            private List<GoodsSkuVOListDTO> goodsSkuVOList;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getUserId() {
                return userId;
            }

            public void setUserId(Integer userId) {
                this.userId = userId;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public Integer getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(Integer goodsId) {
                this.goodsId = goodsId;
            }

            public Integer getGoodsSkuId() {
                return goodsSkuId;
            }

            public void setGoodsSkuId(Integer goodsSkuId) {
                this.goodsSkuId = goodsSkuId;
            }

            public String getSpData() {
                return spData;
            }

            public void setSpData(String spData) {
                this.spData = spData;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public Integer getNumber() {
                return number;
            }

            public void setNumber(Integer number) {
                this.number = number;
            }

            public String getGoodsCode() {
                return goodsCode;
            }

            public void setGoodsCode(String goodsCode) {
                this.goodsCode = goodsCode;
            }

            public String getGoodsSummary() {
                return goodsSummary;
            }

            public void setGoodsSummary(String goodsSummary) {
                this.goodsSummary = goodsSummary;
            }

            public String getGoodsDetail() {
                return goodsDetail;
            }

            public void setGoodsDetail(String goodsDetail) {
                this.goodsDetail = goodsDetail;
            }

            public String getGoodsCover() {
                return goodsCover;
            }

            public void setGoodsCover(String goodsCover) {
                this.goodsCover = goodsCover;
            }

            public BigDecimal getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(BigDecimal goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public BigDecimal getGoodsMarketPrice() {
                return goodsMarketPrice;
            }

            public void setGoodsMarketPrice(BigDecimal goodsMarketPrice) {
                this.goodsMarketPrice = goodsMarketPrice;
            }

            public Integer getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(Integer goodsType) {
                this.goodsType = goodsType;
            }

            public Integer getGoodsTerm() {
                return goodsTerm;
            }

            public void setGoodsTerm(Integer goodsTerm) {
                this.goodsTerm = goodsTerm;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public List<GoodsSkuVOListDTO> getGoodsSkuVOList() {
                return goodsSkuVOList;
            }

            public void setGoodsSkuVOList(List<GoodsSkuVOListDTO> goodsSkuVOList) {
                this.goodsSkuVOList = goodsSkuVOList;
            }

            public static class GoodsSkuVOListDTO {
                /**
                 * key : 颜色
                 * value : 黄
                 */

                private String key;
                private String value;

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }
            }
        }
    }
}
